#ifndef DATE_H
#define DATE_H

#include <iostream>
#include <string>
typedef unsigned char u8;
using namespace std;

class Date
{
    int year;
    u8 month;
    u8 day;

public:
    Date(u8 d, u8 m, int y) : day(d), month(m), year(y)
    {
        cout << "Date object is created" << endl;
    }
    string tostring();

    // void setDate(u8 d, u8 m, int y)
    // {
    //     day = d;
    //     month = m;
    //     year = y;
    // }
    ~Date()
    {
        cout << "Date object is destroyed" << endl;
    }
};

#endif // DATE_H